package com.paic.custserv.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import com.paic.custserv.domain.CussWorkOrder;
import com.paic.custserv.domain.Page;
import com.paic.custserv.web.controller.vo.CussWorkOrderQueryVO;

@MapperScan
public interface CussWorkOrderMapper {
	
	public CussWorkOrder getCussWorkOrder(Integer idWorkOrder);
	
	public List<CussWorkOrder> selectWorkOrderByParam(@Param("page")Page page,@Param("paramMap")Map<String,Object> paramMap);
	
	public int insertSelective(CussWorkOrder record);
	
	public int updateByPrimaryKeySelective(CussWorkOrder record);
	
	public List<CussWorkOrder> selectListByPage(CussWorkOrderQueryVO vo);
	
	public int deleteByPrimaryKey(Integer idWorkOrder);
}
